local sk__renji = fk.CreateSkill {

  name = "sk__renji",

  tags = {  },

}



sk__renji:addEffect(fk.Damaged, {
  name = "sk__renji",
  anim_type = "masochism",
  on_use = function(self, event, target, player, data)
    player:drawCards(1, sk__renji.name)
    if player.dead then return end
    if data.from then
      local mark = player:getTableMark(sk__renji.name)
      mark[data.from.kingdom] = (mark[data.from.kingdom] or 1) + 1
      player.room:setPlayerMark(player, sk__renji.name, mark)
    end
  end,
})

return sk__renji